
<div class="wap-inner">
	<!-- start main-option -->
    
	<div class="main-option clearfix">
        <?php if($cataid)
            {
                foreach ($cataid as $cataid)
                {
                    $cat = $cataid->id;
                    echo '
                     <div class="box-01 fLeft">';
                    $data_detail = $this->common_model->getdata('news',array('catalog'=>$cat),array('title','alias'),array('id','ASC'),6);
                    foreach ($data_detail as $data_detail)
                    {          
            			    echo ' <p><a title="" href="'.base_url().$cataid->alias.'/'.$data_detail->alias.'.html">'.$data_detail->title.'</a></p>';
                    }
                    echo '</div>';
                    
                }
            }
        ?>	
	</div>
	<!-- end main-option -->
	<!-- start main-address -->
	<div class="main-address clearfix">
        <?php if($data_setting)
            {
                if($data_setting[0]->logo)
                {
                    echo '
                    <!-- start logo-foot -->
                    <div class="logo-foot fLeft">
                			<img alt="" src="'.$data_setting[0]->logo.'"/>
                		</div>
                  	<!-- end logo-foot -->      
                  ';
                }
                echo '
                    <!-- start address-->
                		<div class="box-address fLeft">
                		  '.$data_setting[0]->footer.'
                		</div>
              		<!-- end address -->
                '; 
            }
        ?>
        
		
		
	
		
	</div>
	<!-- end main-address -->
</div>